import axios from '@/utils/axios';

// 获取用户组列表
export function roleGroup_list(params = {}) {
  return axios({
    url: '/roleGroup/list',
    method: 'get',
    params
  })
}
// 新增用户组
export function roleGroup_add(data = {}) {
  return axios({
    url: '/roleGroup/add',
    method: 'post',
    data
  })
}
// 修改用户组
export function roleGroup_edit(data = {}) {
  return axios({
    url: '/roleGroup/edit',
    method: 'put',
    data
  })
}
// 删除用户组
export function roleGroup_del(data = {}) {
  return axios({
    url: '/roleGroup/del',
    method: 'delete',
    data
  })
}